package com.example.mardan_demo1.service;

import com.example.mardan_demo1.pojo.PageBean;
import com.example.mardan_demo1.pojo.Result;
import com.example.mardan_demo1.pojo.Yaopin;

import com.example.mardan_demo1.pojo.hzp.HuaZhuangPinFenLei;
import com.example.mardan_demo1.pojo.hzp.HuaZhuangPinJianYanXiangMu;
import com.example.mardan_demo1.pojo.hzp.HzpInfo;

public interface YaopinService {
    Result add(Yaopin yaopin);

    Result<PageBean<Yaopin>> list(Integer pageNum, Integer pageSize, String yangPinMingCheng);

    Result houxuanlinst(String name, String jianPinLeiBie);

    Result getJianYanXiangMuByJianPinId(String jianPinDengJiId);

    Result hzpFenLeiAdd(HuaZhuangPinFenLei fenlei);

    Result hzpFenLeiList(Integer pageSize, Integer pageNum);

    Result hzpXiangMuAdd(HuaZhuangPinJianYanXiangMu jianYanXiangMu);

    Result hzpXiangMuList(String xiangMuMingCheng, Integer pageSize, Integer pageNum);

    Result hzpXiangMuGuanLianDaLei( Integer xiangMuId, Integer[] leiBieIds);


    Result hzpXiangMuListWithDaLei(String xiangMuMingCheng,  Integer pageSize,  Integer pageNum);

    Result hzpGetXiangMuListByDaleiId(Integer fenLeiId,  Integer pageSize,  Integer pageNum);

    Result hzpXinZengYangPin(HzpInfo hzpInfo, String zhuangTai);

    Result khGetHzpList(String yangPinMingCheng, Integer pageSize, Integer pageNum);

    Result adminGetHzpList(String yangPinMingCheng, Integer pageSize, Integer pageNum);

    Result adminGetHzpDetailById(Integer id);

    Result adminGetHzpXiangMuByIds(int[] ids);

    Result adminShouLiHzp(Integer yangPinId, String caoZuoLeiXing, String chuLiYiJian, String jianPinBianHao);

    Result kehuUpdateHzpInfo(HzpInfo hzpInfo);

    Result getHzpJinDuById(Integer id);

    Result adminBoHuiHzpShouLi(Integer yangPinId, String chuLiYiJian);

    Result adminUploadBgsFujian(Integer yangPinId, String baoGaoShuFuJian);

    Result keHuTiJiao(HzpInfo hzpInfo);

}
